const fs = require('fs');

// const readME = fs.readFileSync('./readME.txt', 'utf8');

// console.log(readME)

fs.readFile('./readME.txt', 'utf8', function (err, data) {
  console.log('readed done')
  const str = data + ', but I was writed just now.'
  fs.writeFile('./writeMe.txt', str, function (err, res) {
    console.log('writed done');
  })
})


